define(function () {
    require.config({
        baseUrl: "/",
        paths: {
            viewTpl: 'js/tpl',
            viewCss: 'css',
            "jquery": "common/js/lib/jquery/jquery.min",
            "commonUI": "common/js/common.min",
            "utils": "common/js/utils",
            "dragUtil": "common/js/drag",
            "datatables": "common/js/plugins/datatables/datatables.full.min",
            "validate": "common/js/plugins/jquery-validate/jquery.validate",
            "swiper": "common/js/plugins/swiper/swiper.min",
            "plupload": "common/js/plugins/plupload/plupload.full.min",
            "ztree": "common/js/plugins/ztree/ztree.all",
            "ztreeExhide": "common/js/plugins/ztree/ztree.exhide",
            "laydate": "common/js/plugins/laydate/laydate",
            "select2": "common/js/plugins/select2/select2.full.min",
            "lodash": "common/js/lib/lodash/lodash.min",
            "template": "common/js/lib/template/template.min",
            "excelTable": "common/js/plugins/excelTable/excelTable",
            "css": "common/js/lib/require/css",
            "text": "common/js/lib/require/text",
            "jqListScroll": "common/js/jqListScroll",
            "echarts": "common/js/lib/echarts",
            "getTime": "js/common/getTime",
            "nav": "js/common/nav",
            "pieChars": "common/js/pieChars/pieChars",
            "sideNav": "common/js/sideNav/sideNav",
            "drawer": "js/common/drawer",
            "photoSwiper": "common/js/plugins/photoswiper/jquery.photoSwiper.min",
            "global":"js/common/global"
        },
        shim: {
            "commonUI": ["jquery"],
            "datatables": ["jquery", "css!common/js/plugins/datatables/datatables.full.min.css"],
            "ztree": ["jquery", "css!common/js/plugins/ztree/ztree.min.css"],
            "ztreeExhide": ["ztree"],
            "select2": ["jquery", "css!common/js/plugins/select2/select2.min.css"],
            "swiper": ["jquery", "css!common/js/plugins/swiper/swiper.min.css"],
            "plupload": ["jquery", "commonUI"],
            "excelTable": ["css!common/js/plugins/excelTable/excelTable.min.css"],
            "dragUtil": ["jquery"],
            "echarts": ["jquery"],
            "getTime": ["jquery"],
            "pieChars": ["css!common/js/pieChars/pieChars.min.css"],
            "sideNav": ["css!common/js/sideNav/sideNav.min.css"],
            "photoSwiper": ["css!common/js/plugins/photoswiper/jquery.photoSwiper.min.css"]
        }
    });
});
